/**
 *  FPCompiler.java : IceBird project
 *  17:26:39 
 */
package icebird.compiler.ncomp;

import icebird.metadata.BasicType;

/**
 * Represents FP Compiler.
 * @author Sergey Shulepoff[Knott]
 */
public abstract class FPCompiler {
	
	protected final CodeCompiler code;
	
	public FPCompiler(CodeCompiler c) {
		code = c;
	}
	
	public abstract void compare(boolean gt, BasicType type);
	public abstract void convert(BasicType fromType, BasicType toType);
	
	public abstract void add(BasicType type);
	public abstract void sub(BasicType type);
	
	public abstract void div(BasicType type);
	public abstract void mul(BasicType type);
	public abstract void rem(BasicType type);
	
	public abstract void neg(BasicType type);
	
	public abstract void fpaload(BasicType type);
}
